package com.breaking.second.utils.compat;

import android.view.View;

import com.ethanhua.skeleton.Skeleton;
import com.ethanhua.skeleton.ViewSkeletonScreen;

public class SkeltonCompat {
    public static ViewSkeletonScreen.Builder bind(View view, int layout) {
        return Skeleton.bind(view)
                .shimmer(true)
                .angle(20)
                .duration(3000)
                .load(layout);
    }

}
